import { post } from '@/utils/ajax'

// 查询列表
export function searchService (params) {
  return post('/conn/app/signservice/searchService', params);
}
// 详情
export function selectDetailById (signId) {
  return post('/conn/app/signservice/selectDetailById', { signId });
}
// 停用
export function disable (signId) {
  return post('/conn/app/signservice/disable', { signId });
}
// 启用
export function enable (signId) {
  return post('/conn/app/signservice/enable', { signId });
}
// 解约
export function revoke (signId) {
  return post('/conn/app/signservice/revoke', { signId });
}
// 获取签约版本
export function search (signId) {
  return post('/conn/service/version/search', { signId });
}
// 签约暂存
export function signSave (params) {
  return post('/conn/app/signservice/signSave', params);
}
// 签约审批
export function signSubmit (params) {
  return post('/conn/app/signservice/signSubmit', params);
}
// 输入参数获取
export function searchTree (params) {
  return post('/conn/service/param/in/searchTree', params);
}
// 输出参数获取
export function outSearchTree (params) {
  return post('/conn/service/param/out/searchTree', params);
}
